package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 任务对象 t_task
 * 
 * @author wwb
 * @date 2022-12-25
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    /** 任务说明 */
    @Excel(name = "任务说明")
    private String note;

    /** 是否领取 */
    @Excel(name = "是否领取")
    private Integer state;

    /** 一次性任务 */
    @Excel(name = "一次性任务")
    private Integer isdisposable;

    /** 领取数量 */
    @Excel(name = "领取数量")
    private Long receivecount;

    @Excel(name = "创建时间")
    private Date createtime;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setIsdisposable(Integer isdisposable) 
    {
        this.isdisposable = isdisposable;
    }

    public Integer getIsdisposable() 
    {
        return isdisposable;
    }
    public void setReceivecount(Long receivecount) 
    {
        this.receivecount = receivecount;
    }

    public Long getReceivecount() 
    {
        return receivecount;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", note='" + note + '\'' +
                ", state=" + state +
                ", isdisposable=" + isdisposable +
                ", receivecount=" + receivecount +
                ", createtime=" + createtime +
                '}';
    }
}
